package se.kayarr.cardplay.exceptions;

import lombok.Getter;

public class PositionOutsideFieldException extends Exception {
	private static final long serialVersionUID = 9101985205812663992L;
	
	@Getter private int x;
	@Getter private int y;
	public PositionOutsideFieldException(int x, int y) {
		super("Position " + x + "," + y + " is outside the field");
		this.x = x;
		this.y = y;
	}
}
